<?php
/**
 * ExtToolTip class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtToolTip extends ExtTip
{
    /**
     * Gets the value of ExtJS anchorOffset property
     * @return Number 
     */
    public function getAnchorOffset()
    {
    	return $this->getConfig("anchoroffset");
    }

    /**
     * Sets the value of ExtJS anchorOffset property
     * @param Number $value 
     */
    public function setAnchorOffset($value)
    {
    	$this->setConfig("anchoroffset",$value);
    }

    /**
     * Gets the value of ExtJS anchorToTarget property
     * @return Boolean 
     */
    public function getAnchorToTarget()
    {
    	return $this->getConfig("anchortotarget");
    }

    /**
     * Sets the value of ExtJS anchorToTarget property
     * @param Boolean $value 
     */
    public function setAnchorToTarget($value)
    {
    	$this->setConfig("anchortotarget",$value);
    }

    /**
     * Gets the value of ExtJS autoHide property
     * @return Boolean 
     */
    public function getAutoHide()
    {
    	return $this->getConfig("autohide");
    }

    /**
     * Sets the value of ExtJS autoHide property
     * @param Boolean $value 
     */
    public function setAutoHide($value)
    {
    	$this->setConfig("autohide",$value);
    }

    /**
     * Gets the value of ExtJS delegate property
     * @return String 
     */
    public function getDelegate()
    {
    	return $this->getConfig("delegate");
    }

    /**
     * Sets the value of ExtJS delegate property
     * @param String $value 
     */
    public function setDelegate($value)
    {
    	$this->setConfig("delegate",$value);
    }

    /**
     * Gets the value of ExtJS dismissDelay property
     * @return Number 
     */
    public function getDismissDelay()
    {
    	return $this->getConfig("dismissdelay");
    }

    /**
     * Sets the value of ExtJS dismissDelay property
     * @param Number $value 
     */
    public function setDismissDelay($value)
    {
    	$this->setConfig("dismissdelay",$value);
    }

    /**
     * Gets the value of ExtJS hideDelay property
     * @return Number 
     */
    public function getHideDelay()
    {
    	return $this->getConfig("hidedelay");
    }

    /**
     * Sets the value of ExtJS hideDelay property
     * @param Number $value 
     */
    public function setHideDelay($value)
    {
    	$this->setConfig("hidedelay",$value);
    }

    /**
     * Gets the value of ExtJS mouseOffset property
     * @return Array 
     */
    public function getMouseOffset()
    {
    	return $this->getConfig("mouseoffset");
    }

    /**
     * Sets the value of ExtJS mouseOffset property
     * @param Array $value 
     */
    public function setMouseOffset($value)
    {
    	$this->setConfig("mouseoffset",$value);
    }

    /**
     * Gets the value of ExtJS showDelay property
     * @return Number 
     */
    public function getShowDelay()
    {
    	return $this->getConfig("showdelay");
    }

    /**
     * Sets the value of ExtJS showDelay property
     * @param Number $value 
     */
    public function setShowDelay($value)
    {
    	$this->setConfig("showdelay",$value);
    }

    /**
     * Gets the value of ExtJS target property
     * @return Mixed 
     */
    public function getTarget()
    {
    	return $this->getConfig("target");
    }

    /**
     * Sets the value of ExtJS target property
     * @param Mixed $value 
     */
    public function setTarget($value)
    {
    	$this->setConfig("target",$value);
    }

    /**
     * Gets the value of ExtJS trackMouse property
     * @return Boolean 
     */
    public function getTrackMouse()
    {
    	return $this->getConfig("trackmouse");
    }

    /**
     * Sets the value of ExtJS trackMouse property
     * @param Boolean $value 
     */
    public function setTrackMouse($value)
    {
    	$this->setConfig("trackmouse",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'anchoroffset' => 'anchorOffset',
            'anchortotarget' => 'anchorToTarget',
            'autohide' => 'autoHide',
            'dismissdelay' => 'dismissDelay',
            'hidedelay' => 'hideDelay',
            'mouseoffset' => 'mouseOffset',
            'showdelay' => 'showDelay',
            'trackmouse' => 'trackMouse'
        ));



        $this->setXType('tooltip');
        $this->setXClass('Ext.ToolTip');
    }    
}
?>